<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/security.tld" prefix="security" %>

<ul>
    <li>
    	<h2>M&oacute;dulo Acad&eacute;mico</h2>
        <ul>
			<li>
                <html:link action="/protected/mainStudent.do">Participantes</html:link>
            </li>
			<li>
                <html:link action="/protected/mainBodyBody.do">Entes</html:link>
            </li>
			<li>
                <html:link action="/protected/mainCourse.do">Cursos</html:link>
            </li>
			<li>
                <html:link action="/protected/mainSubject.do">Materias</html:link>
            </li>
			<li>
                <html:link action="/protected/mainTeacher.do">Docentes</html:link>
            </li>
        </ul>
    </li>
    
    <li>
    	<h2>M&oacute;dulo Econ&oacute;mico</h2>
        <ul>
		    <security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/mainCustomer.do">Clientes</html:link>
		        </li>
		    </security:securizedContent>
		    <security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/mainDebt.do">Deudas</html:link>
		        </li>
		    </security:securizedContent>
		    <security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/mainCollect.do">Cobros</html:link>
		        </li>
		    </security:securizedContent>
		    <security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/mainHonorary.do">Honorarios</html:link>
		        </li>
		    </security:securizedContent>
		    <security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/mainPay.do">Pagos/Egresos</html:link>
		        </li>
		    </security:securizedContent>
		    <br/>
		    <security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/listBenefits.do">Listar beneficios</html:link>
		        </li>
		    </security:securizedContent>
		    <security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/listDiscounts.do">Listar descuentos</html:link>
		        </li>
		    </security:securizedContent>
        </ul>
    </li>

    <li>
    	<h2>Administraci&oacute;n</h2>
        <ul>
        	<security:securizedContent roles="secretaria,administrador,ente">
		        <li>
	                <html:link action="/protected/changePassword.do">Cambiar Password</html:link>
		        </li>
		    </security:securizedContent>
		    <security:securizedContent roles="secretaria,administrador">
		        <li>
	                <html:link action="/protected/listUsers.do">Usuarios</html:link>
		        </li>
		    </security:securizedContent>
		    <%-- Lleva a la administracion de servicios batch para poder ejecutarlos --%>
		    <security:securizedContent roles="administrador">
		        <li>
	                <html:link action="/protected/listAvailableJobs.do">Servicios</html:link>
		        </li>
		    </security:securizedContent>
        </ul>
    </li>
</ul>